package org.openclinic.repository;

import java.util.List;

import org.openclinic.domain.HealthInsurance;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

public interface HealthInsuranceRepository extends JpaRepository<HealthInsurance, Long> {

	@Query("FROM HealthInsurance ORDER BY name")
	List<HealthInsurance> findAllOrderByName();
	
}
